from django.db import models


class Base(models.Model):
    c_time = models.DateTimeField(auto_now_add=True)
    u_time = models.DateTimeField(auto_now=True)

    class Meta:
        abstract = True  # 抽象类, 不能被单独创建成表, 必须被继承
